From a7f30ee678e427c4f87f0ded582b097bb4e19312 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 9 May 2011 09:59:13 +0100 Subject: [PATCH] xentrace: Mark data_size __read_mostly because it's only written once Signed-off-by: Olaf Hering --- xen/common/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/trace.c b/xen/common/trace.c index 572d1c814e..9c2250e168 100644 --- a/xen/common/trace.c +++ b/xen/common/trace.c @@ -54,7 +54,7 @@ static unsigned int t_info_pages; static DEFINE_PER_CPU_READ_MOSTLY(struct t_buf *, t_bufs); static DEFINE_PER_CPU_READ_MOSTLY(unsigned char *, t_data); static DEFINE_PER_CPU_READ_MOSTLY(spinlock_t, t_lock); -static u32 data_size; +static u32 data_size __read_mostly; /* High water mark for trace buffers; */ /* Send virtual interrupt when buffer level reaches this point */ -- 2.30.2